import type { ZGQLikeInstance } from "@/components/components"
import { ref } from "vue"

export const useLikeList = () => {
    const likeRef = ref<ZGQLikeInstance>()

    const onScrolltolower = () => {
        likeRef.value?.loadMore()
    }

    return {
        likeRef,
        onScrolltolower
    }
}